<template>
  <p>HelloWorld</p>
  <el-button>Default</el-button>
  <el-button type="primary">Primary</el-button>
  <el-button type="success">Success</el-button>
  <el-button type="info">Info</el-button>
  <el-button type="warning">Warning</el-button>
  <el-button type="danger">Danger</el-button>\

  <el-button plain>Plain</el-button>
  <el-button type="primary" plain>Primary</el-button>
  <el-button type="success" plain>Success</el-button>
  <el-button type="info" plain>Info</el-button>
  <el-button type="warning" plain>Warning</el-button>
  <el-button type="danger" plain>Danger</el-button>

  <h2>Hello World</h2>
  <p>计数  {{ count }}</p>
  <el-button type="primary" @click="addOne">加1</el-button>

</template>

<script setup>
import {ref} from 'vue'

const count = ref(0)

const addOne = ()=>{
  count.value++
}
 
</script>


